home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Shapes / Surface of Revolution.txt < prev    next >
Encoding:
Text File  |  2000-04-06  |  339 b   |  14 lines

  1. // create a Surface of Revolution shape (like lathe, but faster)
  2. surface_of_revolution
  3. {
  4.     7, // # of points
  5.     <0.000000, 0.000000> // list of <u,v> points
  6.     <0.118143, 0.000000>
  7.     <0.620253, 0.540084>
  8.     <0.210970, 0.827004>
  9.     <0.194093, 0.962025>
  10.     <0.286920, 1.000000>
  11.     <0.468354, 1.033755>
  12.     // [open]
  13. }
  14.